package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.MusicCategory;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface MusicCategoryDao extends CrudRepository<MusicCategory, Integer>, JpaSpecificationExecutor<MusicCategory> {

    List<MusicCategory> findByQuestionTypeNameIsLike(String questionTypeName);
}
